@import '~styles/colors.less';

@height: 80px;

.root {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: @height;
  overflow: hidden;
  border-top: 1px solid @adminBorders;
  background-color: #ffffff;
  z-index: 1;
  transition: height 0.2s ease-out;
}

.head {
  height: @height;
  cursor: pointer;
  padding: 17px;
}

.opened {
  height: @height + 100px;
}

.thumbnail {
  display: inline-block;
  vertical-align: top;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  top: 2px;
}

.info {
  display: inline-block;
  vertical-align: top;
  padding: 5px 13px;
}

.name {
  color: @adminTextHighlight;
  font-size: 15px;
}

.role {
  color: @adminText;
  font-size: 10px;
}

.toggle {
  display: inline-block;
  height: @height;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 17px;

  :global i {
    color: @adminText;
    font-size: 12px;
    line-height: @height;
  }
}

.actions {
  padding: 0px 20px;
  padding-left: 73px;
  padding-bottom: 20px;
}

.action {
  display: block;
  text-decoration: none;
  margin-bottom: 7px;

  :global {
    i, span {
      display: inline-block;
      vertical-align: top;
      font-size: 12px;
      color: @primary;
      line-height: 20px;
    }
    i {
      margin-right: 7px;
    }
  }
}
